package com.lonelyzhe.springboot.mapper;

import com.lonelyzhe.springboot.bean.Category;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface CategoryMapper {
    List<Category> getCategoryList();

    void insertCategory(@Param("category")Category category);
}
